package dtnnews.views;

import com.example.dtnnews.R;

import dtnnews.supports.Constant;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import android.widget.TextView;

public class PageDetail extends Activity{

	private WebView webView = null;
	private String urlView = null;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.detail_information);
		
		webView = (WebView) findViewById(R.id.web_view);
		urlView = getIntent().getExtras().getString(Constant.EXTRA_URL_VIEW);
		webView.loadDataWithBaseURL(null, urlView, "text/html", "utf-8", null);
		
	}
}
